﻿using System;

namespace diantou.web.enterprise
{
    /// <summary>
    /// 邮件模版
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class mailList : examPermissionView<mailList>
    {
        /// <summary>
        /// 考试
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.examDataAccess.exam exam;
        /// <summary>
        /// 邮件模版
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.examDataAccess.enterpriseMail[] mails;
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        private bool loadView(int examId)
        {
            mails = diantou.examDataAccess.tcpCall.enterpriseMail.get(currentUserId);
            if (examId == 0) exam = diantou.examDataAccess.exam.NullExam;
            else exam = diantou.examDataAccess.clientCache.GetExam(examId, currentUser, false);
            return true;
        }
    }
}
